
import React, { Component } from 'react'

export default class Home extends Component {
    // constructor(props){
    //     super(props)
    //     this.props = props
    // }
    render() {
        const {age} = this.props
        return (
            <div>
                我是home组件,我{age}岁
            </div>
        )
    }
}
